/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.seagate.app.bean;

import java.text.SimpleDateFormat;

/**
 *
 * @author 452530
 */
public class BoBean {
    private String boname;
    private String tsr;
    private String date_receive;
    private String tab;
    private String hga_partnum;
    private String qty;
    private String room_shelf_no;

    public String getBoname() {
        return boname;
    }

    public void setBoname(String boname) {
        this.boname = boname;
    }

    public String getDate_receive() {
        SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        try {
            java.util.Date date = sf.parse(date_receive);
            SimpleDateFormat sf2 = new SimpleDateFormat("dd-MMM-yyyy");
            return sf2.format(date);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return date_receive;
    }

    public void setDate_receive(String date_receive) {

        this.date_receive = date_receive;
    }

    public String getHga_partnum() {
        return hga_partnum;
    }

    public void setHga_partnum(String hga_partnum) {
        this.hga_partnum = hga_partnum;
    }

    public String getQty() {
        return qty;
    }

    public void setQty(String qty) {
        this.qty = qty;
    }

    public String getRoom_shelf_no() {
        return room_shelf_no;
    }

    public void setRoom_shelf_no(String room_shelf_no) {
        this.room_shelf_no = room_shelf_no;
    }

    public String getTab() {
        return tab;
    }

    public void setTab(String tab) {
        this.tab = tab;
    }

    public String getTsr() {
        return tsr;
    }

    public void setTsr(String tsr) {
        this.tsr = tsr;
    }

}
